package com.xunlai.infra.permission.manager;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.data.jdbc.repository.config.EnableJdbcAuditing;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * @author liang
 * @date 2022/12/3 14:20
 */
@SpringBootApplication
@EnableJdbcAuditing(auditorAwareRef = "auditorProvider")
@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 3*24*60*60)
public class AdminManagerApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminManagerApplication.class,args);
    }

}
